var aUi = aUi || {};
aUi.select = {
	// 增加仓库
	_addwWarehouse: function(data) {
		var html = '<li data-id="'+data.id+'" data-name="'+data.name+'" class="mui-table-view-cell mui-media item-cell">'+
						'<div class="item">'+
							'<div class="item-left">'+
								'<div class="left-icon">'+
									'<img src="../../../images/comman/icon_warehouse.png">'+
								'</div>'+
								'<div class="left-title">'+
									'<div class="left-title1">'+
										data.name +
									'</div>'+
									'<div class="left-title2">'+
										data.address+
									'</div>'+
								'</div>'+
							'</div>'+
							'<div class="right-icon">'+
								'<img src="../../../images/comman/icon_more_gray.png">'+
							'</div>'+
						'</div>'+
					'</li>';
		return html;
	},
	warehouse: function(list) {
		var html = "";
		for (var i = 0; i < list.length; i++) {
			var data = list[i];
			html += this._addwWarehouse(data);
		}
		return html;
		return this._addwWarehouse();
	},

};
